package kn.pulldata.service;

import kn.pulldata.entity.DataSourceStatus;
import kn.pulldata.entity.SchemeSourceRelation;
import kn.pulldata.req.ActionReq;
import kn.pulldata.req.AddReq;
import kn.pulldata.req.InfoPushData;
import kn.pulldata.req.UpdateReq;

import java.util.List;

public interface ExternalService {



    void pushWebSocket(InfoPushData infoPushData);

    String action(ActionReq req);

    DataSourceStatus add(AddReq req);

    List<SchemeSourceRelation> search(Integer dataSoureId);

    Boolean update(UpdateReq req);

    List<DataSourceStatus> list();

    Boolean delete(Integer id, Integer orgId);
}
